Skip to content

Allow passing cors options - #70

Open
tom-sherman wants to merge 1 commit into
kenneth-gray:mainfrom
tom-sherman:cors-configuration
Open

Allow passing cors options#70
tom-sherman wants to merge 1 commit into
kenneth-gray:mainfrom
tom-sherman:cors-configuration

Conversation

@tom-sherman

Copy link
Copy Markdown

No description provided.

@kenneth-gray kenneth-gray left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers Tom - I've actually been off work/personal programming for about 6 months and have just come back to it recently.

Just the one change request on the type (see specific comment). I also need to add a deprecation notice to this repo, but for the sake of making life easier we'll get this one into this repo.

Comment thread src/types.ts
resetScenariosPath?: string;
scenariosPath?: string;
cookieMode?: boolean;
cors?: CorsOptions;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've purposefully resisted using types from libraries in case I want to change the underlying technology. Wonder if we could just copy the relevant type in this instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants